package com.qian.fmall.mapper;

import com.qian.fmall.pojo.ShoppingCart;

import java.util.List;

public interface CartMapper {
    int addToShoppingCart(ShoppingCart shoppingCart);
    List<ShoppingCart> getShoppingCartByUserId(String userId);
    ShoppingCart getShoppingCartByCartId(int cartId);
    int batchDelCartByCards(int cartId);
}
